package com.forum.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 帖子审核日志实体类
 */
@Data
@TableName("post_audit_log")
public class PostAuditLog {
    
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    /**
     * 帖子ID
     */
    private Long postId;
    
    /**
     * 审核人ID
     */
    private Long auditorId;
    
    /**
     * 审核动作：approve-通过, reject-拒绝
     */
    private String action;
    
    /**
     * 审核备注/拒绝原因
     */
    private String remark;
    
    /**
     * 创建时间
     */
    private LocalDateTime createdAt;
} 